<template>
    <div>
        <mt-swipe :auto="4000">
            <mt-swipe-item v-for="item in swipeList" :key="item.id">
                <img :src="item.img" :class="{full: isFull}">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>

<script>
    export default {
        name: "Slide",
        props: ['swipeList', 'isFull']
    }
</script>

<style scoped>
    .mint-swipe {
        height: 400px;
        text-align: center;
    }
    .mint-swipe img {
        /*width: 100%;*/
        height: 100%;
    }
    .full {
        width: 100%;
    }
</style>